package com.yxinsur.imc.business.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 保单缴费银行信息对象
 *
 * @author imc
 * @date 2021-03-22
 */
@Data
public class OrderBankInfoEndorseForm {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "银行户主名[accName]不能为空")
    @ApiModelProperty("银行户主名")
    private String accName;

    @NotBlank(message = "银行卡号[account]不能为空")
    @ApiModelProperty("银行卡号")
    private String account;

    @NotBlank(message = "银行名称[bank]不能为空")
    @ApiModelProperty("银行名称")
    private String bank;

    @NotBlank(message = "续期缴费银行户主名[renewalAccName]不能为空")
    @ApiModelProperty("续期缴费银行户主名")
    private String renewalAccName;

    @NotBlank(message = "续期缴费银行卡号[renewalAccount]不能为空")
    @ApiModelProperty("续期缴费银行卡号")
    private String renewalAccount;

    @NotBlank(message = "续期缴费银行名称[renewalBank]不能为空")
    @ApiModelProperty("续期缴费银行名称")
    private String renewalBank;
}
